.w {
    width: 1240px;
    margin: 0 auto;
    /* background-color: #fff; */
}
* {
    padding: 0;
    margin: 0;
}
.box {
    background-color: #f5f5f5;
    margin:18px 0 30px 0;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
.contain {
    display: flex;
}
aside {
    width: 220px;
    background-color: #fff;
    height: 1030px;
}
.right {
    flex: 1;
    /* background-color: aqua; */
    margin-left: 20px;
}
aside h4 {
    font-size: 18px;
    font-weight: 400;
    padding: 20px 52px 5px;
    border-top: 1px solid #f6f6f6;
}
aside li {
    margin: 18px 52px;
    font-size: 14px;
    color: #666;
}
aside li:hover {
    color: #27ba9b;
    cursor: pointer;
    list-style: disc;
}

.contain .right .header {
    height: 132px;
    background: url(http://erabbit.itheima.net/img/center-bg.31e0daef.png) no-repeat 50%/cover;
    display: flex;
}
.contain .right .header1 {
    flex: 1;
    display: flex;
    align-items: center;
}
.right .header .phone {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 60px;
}
.right .header .phone img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.right .header h4 {
    padding-left: 26px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}
.right .header .chance {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.right .header .chance a {
    color: #fff;
    font-size: 16px;
    text-align: center;
   
}
.right .header .chance i {
    font-size: 30px;
}
.right .header .chance p {
    margin-top: 5px;
}
.catalogue {
    height: 30px;
    border-bottom: 1px solid #f5f5f5;
    padding: 18px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content {
    padding-bottom: 20px;
    background-color: #fff;
    margin-top: 20px;
}
.catalogue a {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #999;
}
.catalogue h4 {
    font-size: 22px;
    font-weight: 400;
}
.content .goodlist {
    display: flex;
    justify-content: space-around;
    padding-top: 20px
}
.content .goodlist a {
    display: block;
    width: 180px;
    padding: 20px 9px;
    text-align: center;
    transition: all .5s;
}
.content .goodlist a:hover {
    margin-top: -5px;
    box-shadow: 5px 5px 6px 2px rgba(0,0,0,.2);
}
.content .goodlist a img {
    width: 160px;
    height: 160px;
}
.content .goodlist a p {
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
}
.content .goodlist a p:nth-of-type(1) {
    font-size: 16px;
    color: #333;
    padding-top: 5px;
}
.content .goodlist a p:nth-of-type(2) {
    color: #999;
    padding: 5px 0 ;
}
.content .goodlist a p:nth-of-type(3) {
    color: #cf4444;
    font-size: 20px;
}
.content1 {
    background-color: #fff;
    margin-top: 20px;
}
.catalogue1 a {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #999;
}
.catalogue1 h4 {
    font-size: 22px;
    font-weight: 400;
}
.catalogue1 {
    height: 30px;
    border-bottom: 1px solid #f5f5f5;
    padding: 18px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content1 {
    height: 360px;
}
.content1 .goodlist1 {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    position: relative;
}
.content1 .goodlist1 a {
    display: block;
    width: 180px;
    padding: 20px 0;
    text-align: center;
    transition: all .5s;
}
.content1 .goodlist1 a {
    cursor: pointer;
}
.content1 .goodlist1 a img {
    width: 160px;
    height: 160px;
}
.content1 .goodlist1 a p {
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     font-size: 16px;
    color: #666;
    padding: 5px 40px;
}
.content1 .goodlist1 a .price {
    font-size: 16px;
    color: #cf4444;
}
.content1 .goodlist1 .xx {
    margin-top: 85px;
    font-size: 30px;
    color: gainsboro;
}
.content1 .goodlist1 .xx:hover {
    cursor: pointer;
}
.content1 .goodlist1 .active1 {
    position: absolute;
    left: 0;
    bottom: 16px;
    /* display: flex; */
    text-align: center;
    width: 100%;
}
.content1 .goodlist1 .active1 span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,.2);
    border-radius: 50%;
    cursor: pointer;
    margin: -40px 3px;
    background: #ccc;
}
/* .active {
    background: #27ba9b !important;
} */